package com.addplus.townmall.server.api.model.town;

import java.math.BigDecimal;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 运费模板配送区域
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-11-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ShopFreightArea extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商品运费模板主键id
     */
    private Integer shopFreightId;

    /**
     * 首笔单元计量
     */
    private Integer firstUnit;

    /**
     * 首笔单元费用
     */
    private BigDecimal firstUnitCost;

    /**
     * 递增单元计量
     */
    private Integer accumulationUnit;

    /**
     * 递增单元费用
     */
    private BigDecimal accumulationUnitCost;

    /**
     * 可配送区域(以逗号分隔)
     */
    private String cityId;

    /**
     * 是否删除(0:否 1:是)
     */
    private Integer isDeleted;


}
